<?php

namespace App\Enums\OpenShop\InvestmentPromotion;

use App\Enums\OpenShop\BaseErrorCode;

class ErrCode extends BaseErrorCode
{

    const CODE_GET_CONFIG_FAIL                  = 200001;
    const CODE_ID_CARD_RECOGNIZE_FAIL           = 200002;
    const CODE_SIGN_ORDER_NO_NULL               = 200003;
    const CODE_SIGN_ORDER_NULL_IN_MERCHANT      = 200004;
    const CODE_SIGN_ORDER_BEFORE_PAY            = 200005;
    const CODE_BUILD_SHOP_ERR                   = 200006;
    const CODE_BUILD_SHOP_RESPONSE_NULL         = 200007;
    const CODE_SIGN_ORDER_BEFORE_CREATE_SHOP    = 200008;
    const CODE_ERR_SYS_TYPE                     = 200009;
    const CODE_ERR_REPEAT_PAY                   = 200010;
    const CODE_ERR_WAKE_PAY                     = 200011;
    const CODE_PAY_PRICE_OVERFLOW               = 200012;
    const CODE_SIGN_ORDER_PAY_ID_NULL           = 200013;
    const CODE_SIGN_ORDER_PAY_CALLBACK_ERR      = 200015;
    const CODE_SIGN_ORDER_PAY_CALLBACK_PRICE    = 200016;
    const CODE_SIGN_ORDER_PAY_CALLBACK_OPERATE  = 200017;
    const CODE_SIGN_ORDER_PAY_CALLBACK_SYS_TYPE = 200018;
    const CODE_SIGN_ORDER_PAY_SUCCESS_EVENT     = 200019;
    const CODE_CREATE_SHOP_REPEATED             = 200020;
    const CODE_NOTIFY_ERROR                     = 200021;
    const CODE_WAP_PAY_LOCK                     = 200022;
    const CODE_SIGN_ORDER_STATUS_COMPLETE       = 200023;
    const CODE_SIGN_ORDER_STATUS_DEL            = 200024;
    const CODE_PAY_NO_NULL                      = 200025;
    const CODE_PAY_AMOUNT_ERR                   = 200026;
    const CODE_MISSION_TEMPLATE_ID_NULL         = 200027;
    const CODE_NO_MANAGE_DATA                   = 200028;
    const CODE_UPDATE_MANAGE_DATA               = 200029;
    const CODE_PROVINCE_NO_MANAGE               = 200030;
    const CODE_MANAGE_ID                        = 200031;
    const CODE_MANAGE_MAPPING                   = 200032;
    const CODE_PROVINCE_IS_BAND                 = 200033;
    const CODE_EXTEND_HANDLER_INTERNAL_NULL     = 200034;
    const CODE_MAIN_PROCESS_MISS_STEP_STATUS    = 200035;
    const CODE_ERR_PAY_ACTION                   = 200036;
    const CODE_ERR_SMS_TYPE                     = 200037;
    const CODE_ERR_BIZ_ID                       = 200038;
    const CODE_ERR_DESIGN_ORDER_STATUS          = 200039;
    const CODE_ERR_DESIGN_PAY_STATUS            = 200040;
    const CODE_ERR_DECORATE_ORDER_STATUS        = 200041;
    const CODE_ERR_DECORATE_PAY_STATUS          = 200042;
    const CODE_ERR_INTERNAL_OPEN_SHOP_PAY       = 200043;
    const CODE_ERR_SHOP_CODE                    = 200044;
    const CODE_ERR_SHOP_NUM_PROVIDE_CODE        = 200045;
    const CODE_ERR_SHOP_CODE_OCC_SIGN_ORDER     = 200046;
    const CODE_ERR_CONTRACT_TEMPLATE            = 200047;
    const CODE_ERR_CONTRACT_PRICE               = 200048;
    const CODE_ERR_PAY_DETAIL                   = 200049;
    const CODE_ERR_SHOP_CODE_IN_OPEN_SHOP       = 200050;
    const CODE_ERR_TEMPLATE_SHOP_COUNT          = 200051;
    const CODE_ERR_NO_DEVELOP_MANAGER           = 200052;
    const CODE_ERR_NO_SITE_MISSION              = 200053;
    const CODE_ERR_PAY_PRICE_OVERFLOW           = 200054;
    const CODE_BUSINESS_LICENSE_RECOGNIZE_FAIL  = 200055;
    const CODE_ERR_WEB_PLATFORM                 = 200056;
    const CODE_ERR_NOT_ALLOW_LOCATION_MANY      = 200057;

    const CODE_CN = [
        self::CODE_GET_CONFIG_FAIL                  => '获取配置信息失败',
        self::CODE_ID_CARD_RECOGNIZE_FAIL           => "身份证识别失败，请确保证件文字信息完整清晰",
        self::CODE_SIGN_ORDER_NO_NULL               => "orderNo订单号未查询到",
        self::CODE_SIGN_ORDER_NULL_IN_MERCHANT      => "商家APP该门店无开店订单",
        self::CODE_SIGN_ORDER_BEFORE_PAY            => "签约订单未到支付阶段",
        self::CODE_BUILD_SHOP_ERR                   => "建店失败",
        self::CODE_BUILD_SHOP_RESPONSE_NULL         => "建店返回数据异常",
        self::CODE_SIGN_ORDER_BEFORE_CREATE_SHOP    => "签约订单未到门店建档阶段",
        self::CODE_ERR_SYS_TYPE                     => "不支持的sysType",
        self::CODE_ERR_REPEAT_PAY                   => "请勿重复支付",
        self::CODE_ERR_WAKE_PAY                     => "唤起支付失败",
        self::CODE_PAY_PRICE_OVERFLOW               => "支付金额溢出，超过应付金额",
        self::CODE_SIGN_ORDER_PAY_ID_NULL           => "找不到对应的支付流水",
        self::CODE_SIGN_ORDER_PAY_CALLBACK_ERR      => "签约订单支付回调异常",
        self::CODE_SIGN_ORDER_PAY_CALLBACK_PRICE    => "签约订单支付回调金额与支付不一致",
        self::CODE_SIGN_ORDER_PAY_CALLBACK_OPERATE  => "暂不支持的支付回调operate_type",
        self::CODE_SIGN_ORDER_PAY_CALLBACK_SYS_TYPE => "暂不支持的支付回调sys_type",
        self::CODE_SIGN_ORDER_PAY_SUCCESS_EVENT     => "支付成功事件触发异常",
        self::CODE_CREATE_SHOP_REPEATED             => "重复建店",
        self::CODE_NOTIFY_ERROR                     => "回调处理失败",
        self::CODE_WAP_PAY_LOCK                     => "支付过于频繁，请稍后再试",
        self::CODE_SIGN_ORDER_STATUS_COMPLETE       => "订单已完成，请勿反复支付",
        self::CODE_SIGN_ORDER_STATUS_DEL            => "开店订单已作废",
        self::CODE_PAY_NO_NULL                      => "不存在的payNo",
        self::CODE_PAY_AMOUNT_ERR                   => "支付金额错误，超出限定范围",
        self::CODE_MISSION_TEMPLATE_ID_NULL         => "不存在的任务模板id",
        self::CODE_NO_MANAGE_DATA                   => "没有组织信息",
        self::CODE_UPDATE_MANAGE_DATA               => "修改组织信息失败",
        self::CODE_PROVINCE_NO_MANAGE               => "该省区没有绑定开店组织",
        self::CODE_MANAGE_ID                        => "组织信息错误",
        self::CODE_MANAGE_MAPPING                   => "组织区域数据格式错误",
        self::CODE_PROVINCE_IS_BAND                 => "该省份已被其他区域绑定",
        self::CODE_EXTEND_HANDLER_INTERNAL_NULL     => "根据上一节点指派生成处理人，缺少逻辑代码",
        self::CODE_MAIN_PROCESS_MISS_STEP_STATUS    => "该订单未找到当前的流程步骤",
        self::CODE_ERR_PAY_ACTION                   => "错误的payAction支付方式",
        self::CODE_ERR_SMS_TYPE                     => "错误的支付短信类型",
        self::CODE_ERR_DESIGN_ORDER_STATUS          => "设计订单状态错误",
        self::CODE_ERR_DESIGN_PAY_STATUS            => "设计支付状态错误",
        self::CODE_ERR_INTERNAL_OPEN_SHOP_PAY       => "不允许的内部开店支付成功回调",
        self::CODE_ERR_SHOP_CODE                    => "门店编号错误",
        self::CODE_ERR_SHOP_NUM_PROVIDE_CODE        => "签约门店数量为1时，才能填写门店编号",
        self::CODE_ERR_SHOP_CODE_OCC_SIGN_ORDER     => "门店编号已被其他未支付的开店订单占用",
        self::CODE_ERR_CONTRACT_TEMPLATE            => "不存在的合同模板",
        self::CODE_ERR_CONTRACT_PRICE               => "合同金额不能为0",
        self::CODE_ERR_PAY_DETAIL                   => "支付明细不存在",
        self::CODE_ERR_SHOP_CODE_IN_OPEN_SHOP       => "该门店编号已在开店订单中被占用",
        self::CODE_ERR_TEMPLATE_SHOP_COUNT          => "合同模板配置的店铺数量错误",
        self::CODE_ERR_NO_DEVELOP_MANAGER           => "未指派开发顾问",
        self::CODE_ERR_NO_SITE_MISSION              => "该任务已被删除",
        self::CODE_ERR_PAY_PRICE_OVERFLOW           => "支付金额超过应付金额",
        self::CODE_BUSINESS_LICENSE_RECOGNIZE_FAIL  => "营业执照识别失败",
        self::CODE_ERR_WEB_PLATFORM                 => "不存在的webPlatform",
        self::CODE_ERR_NOT_ALLOW_LOCATION_MANY      => "当前存在未完成的迁址订单",
    ];

}
